import httpaxios from "../utils/http";
export const getdetailapi = (id) => {
    return httpaxios({
      url: '/goods',
      params: {
        id
      },
    })
  }
export const gethotgoods=(({id,type,limit=3})=>{
  return httpaxios({
    url: '/goods/hot',
    params: {
      id,
      type,
      limit
    },
  }) 
})